home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / 0896.ZIP / CPRESTEL.DOC < prev    next >
Text File  |  1987-06-03  |  2KB  |  39 lines

  1. CPRESTEL.COM  removes CR and LFs from files you want to send to Prestel,
  2. and pads to the end of each line with spaces.
  3.  
  4. For some reason only known to themselves, CR (0DH) to the Prestel editor
  5. means "go to the top left corner corner" so if you prepare an ascii file
  6. offline with the normal CR,LF at the end of the lines, each line overwrites
  7. the other when you send it to Prestel.
  8.  
  9. The command format is CPRESTEL  or  CPRESTEL filename
  10.  
  11. The program asks if the file is for Prestel. Press "p" if it is.
  12. It then asks for the name of the file to be converted (if not entered on the
  13. command line) and produces a new file  'filename.CNV' which you can send.
  14. (If 'filename.CNV' already exists on the default drive it will be overwriten!)
  15.  
  16. Prestel's FIRST line is 39 chrs long. (Most View Data systems are 40 chrs.
  17. so if you DON'T press "p" the first line will be padded to 40 chrs.)
  18. The rest of the lines are 40 chrs long.
  19.  
  20. Prepare your file off line,each line 40 
  21. chrs long or less   (Prestel 39 chrs for 
  22. the first line),  exit your editor,  and
  23. run CPRESTEL to convert it.
  24. N.B.   The file you're converting has to 
  25. be in the current directory but CPRESTEL 
  26. can be in a different one.
  27.  
  28. CPRESTEL will also convert files in which the lines are longer than 40 chrs,
  29. splitting the lines at the nearest 'space'   fitting in words, if it can,
  30. after a CR,LF,  but the end result is not always to your liking.
  31.  
  32. Don't try any files bigger than 4000 chrs as the output buffer will be
  33. overwritten.    Prestel can only accept 519 chrs  (13 lines) anyway. 
  34.  
  35. Written by John Cardiff  MBX 919998819
  36.  
  37.  
  38.  
  39.